home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7272 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: rocannon.cam.harlequin.co.uk!markt
  2. From: markt@harlqn.co.uk (Mark Tillotson)
  3. Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
  4. Subject: Re: Relative Speed of Perl vs. Tcl vs. C  [indentation]
  5. Date: 16 Feb 96 16:20:33 GMT
  6. Organization: Harlequin Limited, Cambridge, England
  7. Message-ID: <MARKT.96Feb16162033@atlas.harlqn.co.uk>
  8. References: <4g0bd6INNn9j@keats.ugrad.cs.ubc.ca> <4g1h0a$l72@orac.mon.rnb.com>
  9. NNTP-Posting-Host: atlas
  10. In-reply-to: hdavies@kzin.mon.rnb.com's message of 16 Feb 1996 08:58:50 GMT
  11.  
  12. hdavies@kzin.mon.rnb.com (Hugh J.E. Davies) wrote:
  13.  
  14. > I actually like code that structures blocks by indentation, since it makes writing
  15. > folding editors simple and it lays to rest once and for all the religious wars over
  16. > brace placement. OTOH, I've never even *seen* any Python. (Other than Monty.)
  17. No no no no no.  The reasons why this is a fundamentally flawed idea
  18. are endless: linewrap, tabs, painful to automatically generate code,
  19. virtually impossible to stream-edit code, proportional fonts,
  20. breakable v. non-breakable spaces of differing widths, difficulty of
  21. cut-and-paste, impossible to use yacc-style tools, difficult to read
  22. out over the phone, hard to internationalize, sensitive to identity of
  23. newline character, macros, statements inside expressions, ...  
  24.  
  25. It is simply not a good idea, whitespace is too volatile to be a
  26. syntactic marker, and counting spaces is too far removed from language
  27. theory.
  28.  
  29. __Mark
  30. [ markt@harlequin.co.uk | http://www.harlequin.co.uk/ | +44 1223 873829   ]
  31. [ homepage http://www.hal.com/services/juggle/home/markt@harlequin.co.uk/ ]
  32.